
// 三级分类的的数据的类型约束



// 定义单个的对象
export interface categoryModel{
  name:string,
  id:number,
}
//定义多个对象的数组的类型
export type categoryListModel = categoryModel[];
//定义我id的leixng

export type Numberable=undefined|number;


export type  categoryIdsModel = {
  category1Id: Numberable,
  category2Id: Numberable,
  category3Id: Numberable,
}

// 总的数据的类型约束
export interface CategorySelectorStateModel extends categoryIdsModel{
  category1List: categoryListModel,
  category2List: categoryListModel,
  category3List: categoryListModel,

}
